package com.cjm.one.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjm.one.common.result.Result;
import com.cjm.one.model.base.TokenVo;
import com.cjm.one.model.custom.entity.CustomGrade;
import com.cjm.one.model.custom.entity.CustomerInfo;
import com.cjm.one.model.custom.vo.CustomerInfoVo;
import com.cjm.one.model.custom.vo.RegisterVO;
import com.cjm.one.model.system.vo.LoginVo;

public interface AuthLoginService {
    Result<String> sendEmailCode(String email) ;

    Result<TokenVo> login(LoginVo loginVo);

    Result<CustomerInfoVo> getUserInfo();

    Result<Boolean> register(RegisterVO registerVO);

    Result<Boolean> checkEmail(String email);

    Result<Boolean> checkEmailCode(String email, String code);
}
